All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.naming.directory.InvalidAttributeSetException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.naming.NamingException
                           |
                           +----java.naming.directory.DSException
                                   |
                                   +----java.naming.directory.InvalidAttributeSetException

public class InvalidAttributeSetException
extends DSException
InvalidAttributeSetException is raised when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly. This could happen, for example, when attempting to add or modify a binding, or to create a new subcontext without specifying all the mandatory attributes required for creation of the object. Another situation in which this exception is raised is by specification of incompatible attributes within the same attribute set, or attributes in conflict with that specified by the object's schema.


Constructor Index

 o InvalidAttributeSetException()
Constructs a new instance of InvalidAttributeSetException.
 o InvalidAttributeSetException(Name, Object, Name)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.
 o InvalidAttributeSetException(Name, Object, Name, String)
Constructs a new instance of InvalidAttributeSetException using the arguments supplied.
 o InvalidAttributeSetException(String)
Constructs a new instance of InvalidAttributeSetException using the arguments supplied.

Constructors

 o InvalidAttributeSetException
 public InvalidAttributeSetException(Name resolvedName,
                                     Object resolvedObj,
                                     Name remainingName,
                                     String explanation)
Constructs a new instance of InvalidAttributeSetException using the arguments supplied.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
explanation - Additional detail about this exception.
 o InvalidAttributeSetException
 public InvalidAttributeSetException(Name resolvedName,
                                     Object resolvedObj,
                                     Name remainingName)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
 o InvalidAttributeSetException
 public InvalidAttributeSetException(String explanation)
Constructs a new instance of InvalidAttributeSetException using the arguments supplied.

Parameters:
explanation - Additional detail about this exception.
 o InvalidAttributeSetException
 public InvalidAttributeSetException()
Constructs a new instance of InvalidAttributeSetException.


All Packages  Class Hierarchy  This Package  Previous  Next  Index